package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.Tickets;
import sun.security.krb5.internal.Ticket;

import java.util.List;


public interface TicketsService extends IService<Tickets> {
    R<Tickets> addTicket(Tickets ticket);

    R<List<Ticket>> getTicketByOrder(String orderId);

    R<Object> removeTicket(Tickets ticket);

    R<Object> checkTicket(Long ticketId);

    R<Integer> getTicketStatus(Long ticketId);
}

